﻿@model Classified.Domain.Entities.OrderType
<fieldset>
     @Html.HiddenFor(m => m.Id)
    <div class="clearfix">
        @Html.LabelFor(model => model.Name)
        <div class="input">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
    </div>
    <div class="clearfix">
        @Html.LabelFor(model => model.Price)
        <div class="input">
            @Html.EditorFor(model => model.Price)
            @Html.ValidationMessageFor(model => model.Price)
        </div>
    </div>
    <div class="clearfix">
        @Html.LabelFor(model => model.Duration)
        <div class="input">
            @Html.EditorFor(model => model.Duration)
            @Html.ValidationMessageFor(model => model.Duration)
        </div>
    </div>
    <div class="clearfix">
        @Html.LabelFor(model => model.Description)
        <div class="input">
            @Html.TextAreaFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>
    </div>
    <div class="actions">
        <input type="submit" class="btn" value="Save" />
        <input type="button" class="btn closeModal" value="Close window" />
    </div>
</fieldset>
